package org.diffshop.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.diffshop.common.utils.PageUtils;
import org.diffshop.product.entity.PmsAttrEntity;
import org.diffshop.product.vo.AttrVO;

import java.util.List;
import java.util.Map;

/**
 * 商品属性
 *
 * @author tjf
 * @date 2024-05-08 16:04:20
 */
public interface PmsAttrService extends IService<PmsAttrEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveAttr(AttrVO attrVO);

    PageUtils getAttrsByCatId(Map<String, Object> params, String type, Long catId);

    AttrVO queryDetail(Long attrId);

    void updateDetail(AttrVO attrVO);
}

